package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Service
public interface ReportService {
    /**
     * 数据统计
     *
     *  @param begin
     *  @param end
     */
    TurnoverReportVO getTurnoverStatistic(LocalDate begin, LocalDate end);
    //统计指定时间区间内的营业额数据
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);
    //统计指定时间区间内的订单数据
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);
    //统计指定时间区间内的销量排名前10
    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);
}
